﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using DormMS.Model.Enum;

namespace DormMS.Model
{
    /// <summary>
    /// 订单操作记录
    /// </summary>
    public class OrderRecord
    {
        /// <summary>
        /// Id
        /// </summary>
        public int Id { get; set; }
        private DateTime addTime = DateTime.Now;
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime AddTime { get { return addTime; } set { addTime = value; } }
        private bool isDeleted = false;
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDeleted { get { return isDeleted; } set { isDeleted = value; } }
        /// <summary>
        /// 订单Id
        /// </summary>
        public int OrderId { get; set; }
        /// <summary>
        /// 订单号
        /// </summary>
        public string OrderNo { get; set; }
        /// <summary>
        /// 订单状态
        /// </summary>
        public OrderStatus OrderStatus { get; set; }
        /// <summary>
        /// 发货状态
        /// </summary>
        public OrderSendStatus SendStatus { get; set; }
        /// <summary>
        /// 支付状态
        /// </summary>
        public OrderPayStatus PayStatus { get; set; }
        /// <summary>
        /// 操作人ID
        /// </summary>
        public int OperationId { get; set; }
        /// <summary>
        /// 操作人类型 0会员操作， 1后台管理员操作
        /// </summary>
        public int OperationUserType { get; set; }
        /// <summary>
        /// 操作描述
        /// </summary>
        public string OperationNote { get; set; }
        /// <summary>
        /// IP
        /// </summary>
        public string Ip { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 客户端
        /// </summary>
        public string ClientName { get; set; }


    }
}

